package cate.common.table.d;

import cate.common.table.common.ParamSheet;
import easy.java.dev.note.NoteClass;
import easy.java.dev.note.NoteField;

@NoteClass(value = "精英赛")
public class GDEliteRace {
    public static final long WHOLE_SEASON_TIME = 3 * 24 * 3600 * 1000L;
    public static final long NEXT_WHOLE_SEASON_TIME = 4 * 24 * 3600 * 1000L;

    @NoteField(value = "精英赛投注上限")
    public static long ELITE_RACE_BET_LIMIT;

    @NoteField(value = "精英银币兑换争霸积分系数")
    public static float ELITE_COINS_EXCHANGE_RADIO;

    @NoteField(value = "精英赛从积分赛获取分数系数")
    public static float POINT_RACE_POINTS_RADIO;

    @NoteField(value = "精英赛每场加分")
    public static long ELITE_RACE_WIN_POINTS_ADD;

    public static int ATTRIBUTES_NOTICE_MASK = 1;

    public static final int RANK_LIMIT = 128;

    public static long MAX_BET_TIMES;
    public static int FIXED_BET_NUM;
    public static int EXCHANGE_SCALE;

    public static String BET_WRONG_REWARD;

    public static void initialize(ParamSheet paramSheet) {
        ELITE_RACE_BET_LIMIT = GDParamTool.getLong(paramSheet, 502, 1000);
        ELITE_COINS_EXCHANGE_RADIO = GDParamTool.getFloat(paramSheet, 503, 1.0f);
        POINT_RACE_POINTS_RADIO = GDParamTool.getFloat(paramSheet, 504, 0.1f);
        ELITE_RACE_WIN_POINTS_ADD = GDParamTool.getLong(paramSheet, 505, 15);

        EXCHANGE_SCALE = GDParamTool.getInt(paramSheet, 513, 10);
        MAX_BET_TIMES = GDParamTool.getInt(paramSheet, 514, 3);
        FIXED_BET_NUM = GDParamTool.getInt(paramSheet, 515, 300);
        BET_WRONG_REWARD = GDParamTool.getString(paramSheet, 519, "0:7:2450");
    }
}
